//
//  UIColor+Extension.swift
//  Weibo
//
//  Created by 冯童童 on 16/1/23.
//  Copyright © 2016年 冯童童. All rights reserved.
//

import UIKit

extension UIColor {
    
    class func randomColor() -> UIColor {
        let red = CGFloat(random() % 256) / 255.0
        let green = CGFloat(random() % 256) / 255.0
        let blue = CGFloat(random() % 256) / 255.0
        
        return UIColor(red: red, green: green, blue: blue, alpha: 1)
        
    }
}
